﻿@page "/"

<h1>
    测试小红星
</h1>


<ValidateForm Model="@Model" ShowRequiredMark="true">
    <Row RowType="RowType.FormRow" ItemsPerRow="ItemsPerRow.Two">
        <BootstrapInput @bind-Value="@Model.Name" />

        <label class="control-label" required for="a">备注</label>
        <BootstrapInput @bind-Value="@Model.Remark" required="@re" ShowLabel="false" Id="a"/>
        <Checkbox @bind-Value="re" ></Checkbox>

    </Row>
</ValidateForm>


@code {

    private Foo Model = new Foo();
    bool re = true;
    string attr = "required";
}
